weekdayNames
Type
function
Summary
Returns a list of names of the days of the week used by the date function.
Syntax
the [{ long | abbreviated | short }] [{ english | system }] weekdayNames
weekdayNames()
Description
Use the weekdayNames function to let the user choose from a list of weekday names, or to display a list of days in the language of the user's system preferences.
For each form of the weekdayNames, if the useSystemDate property is set to true, or if you specify the system weekdayNames, the list of names is provided in the language specified by the user's system preferences. If the useSystemDate is false or you specify the english weekdayNames, the list of names is provided in English.
Examples
put the weekdayNames into field "Weekdays"
if it is not among the lines of the system weekdayNames then beep
Related
property: useSystemDate
control structure: function
function: dateFormat, date
glossary: function, property, return
Compatibility and Support
Introduced
LiveCode 1.1
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile